package com.google.code.biglo.runtime.flownode;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.google.code.biglo.engine.BpmnEngineImpl;
import com.google.code.biglo.lang.bpmn.model.TScriptTask;

public class ScriptTask extends FlowNode {
    private static Log log = LogFactory.getLog(BpmnEngineImpl.class);

	@Override
	public void activate() {
		super.activate();
		TScriptTask t = (TScriptTask) tFlowNode;
		String script = t.getScript().toString();
		log.debug("Script: " + script);
		completing();
	}
}
